package com.kye.express.view.webview;

import android.content.Context;
import android.webkit.JavascriptInterface;

import com.kye.express.view.ToastManager;

public abstract class ToastJavascriptInterface {
    @JavascriptInterface
    public void showMsg(String msg) {
        ToastManager.show(getContext(), msg);
    }

    protected abstract Context getContext();
}
